﻿/****************************************************************
*   作者：Morain
*   创建时间：2018/2/26 18:54:09
*   描述说明：
*****************************************************************/
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
  [Message(Opcode.G2L_Ping)]
  [ProtoContract]
  public partial class G2L_Ping : IRequest
  {
    [ProtoMember(1)]
    public string UserName;
    [ProtoMember(2)]
    public string Password;
  }

  [Message(Opcode.L2G_Ping)]
  [ProtoContract]
  public partial class L2G_Ping : IResponse
  {
    [ProtoMember(1)]
    public string UserName;
    [ProtoMember(2)]
    public string Password;

    [ProtoMember(90)]
    public int Error { get; set; }
    [ProtoMember(91)]
    public string Message { get; set; }
  }
}
